home *** CD-ROM | disk | FTP | other *** search
/ Micromanía: 150 Juegos 2010 / 150Juegos_16.iso / FIFA Manager 10 / FIFAManager10_Demo.exe / fmdata / Configuration File - Unlockables.cfg < prev    next >
Encoding:
Text File  |  2009-10-07  |  20.9 KB  |  602 lines

  1. ∩╗┐// Unlockable item configuration file
  2. // Author: Christoph Brzozowski
  3. // Date  : 02.02.2009
  4.  
  5. // Following attributes are supported
  6. // Type                 : DESK | BOOK | OBJECT
  7. // Name                 : string                Name of the object
  8. // Level                : integer               Level of the object ( needed for choosing most expensive / prestigeous objects ) 
  9. // Resource             : string                Path to the image resource / decorational object
  10. // Icon                 : string                Path to the icon image
  11. // StayUnlocked         : boolean               If defined and set to true, the object stays permanently unlocked ( default value is true )
  12. // UnlockOnStateChange  : boolean               If defined and set to true, the object will only be unlocked if the condition state changes from false to true ( default value is false )
  13. // Expire               : string                Expiration time. After this period the object will be removed. Valid values are
  14. //                                              NEVER   ( default )
  15. //                                              2WEEKS  ( expires 2 weeks after aquisition )
  16. //                                              4WEEKS  ( expires 4 weeks after aquisition )
  17. //                                              SEASON  ( lasts a whole season )
  18. //
  19. // You might specify one or more conditions as well:
  20. //
  21. // BEGIN( Conditions )
  22. //          Condition1 = "TERM1", "TERM2", ... ,"TERMN" 
  23. //          Condition2 = "TERM1", "TERM2", ... ,"TERMN"
  24. //          .
  25. //          .
  26. //          .
  27. //          ConditionN = "TERM1", "TERM2", ... ,"TERMN"
  28. // END
  29. //
  30. // Each term is a boolean expression comparing an attribute against a constant value, or simply whether an attribute is true
  31. // A single condition is true, if all it's terms are true. The whole unlocking condition is true, if at least one the specified conditions is true.
  32. //
  33. // ATTENTION: Resource names are case sensitive !!!
  34.  
  35. BEGIN( ITEMS )
  36.  
  37.     //-------------------------------------------------------------------------    
  38.     // Desks
  39.     //-------------------------------------------------------------------------    
  40.  
  41.     BEGIN(DESK_001)
  42.         Id          = 1
  43.         Type        = DESK
  44.         Name        = Level 1
  45.         Level       = 1
  46.         Resource    = Desk01_Poor.tga
  47.         Icon        = Desk01_Poor_icon.tga
  48.         // Employee or club cash is less than 2 millions
  49.     END
  50.     BEGIN(DESK_002)
  51.         Id          = 2
  52.         Type        = DESK
  53.         Name        = Level 2
  54.         Level       = 2
  55.         Resource    = Desk02_NotThatPoor.tga
  56.         Icon        = Desk02_NotThatPoor_icon.tga
  57.         // Employee or club cash is more than 2 millions
  58.         BEGIN( Conditions )
  59.             Condition1 = "Team.CashMillions > 2"
  60.             Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 2"
  61.         END        
  62.     END
  63.     BEGIN(DESK_003)
  64.         Id          = 3
  65.         Type        = DESK
  66.         Name        = Level 3
  67.         Level       = 3
  68.         Resource    = Desk03_LowBasic.tga
  69.         Icon        = Desk03_LowBasic_icon.tga
  70.         // Employee or club cash is more than 5 millions
  71.         BEGIN( Conditions )
  72.             Condition1 = "Team.CashMillions > 5"
  73.             Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 5"
  74.         END                
  75.     END
  76.     BEGIN(DESK_004)
  77.         Id          = 4
  78.         Type        = DESK
  79.         Name        = Level 4
  80.         Level       = 4
  81.         Resource    = Desk04_Basic.tga
  82.         Icon        = Desk04_Basic_icon.tga
  83.         // Employee or club cash is more than 10 millions
  84.         BEGIN( Conditions )
  85.             Condition1 = "Team.CashMillions > 10"
  86.             Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 10" 
  87.         END                        
  88.     END
  89.     BEGIN(DESK_005)
  90.         Id          = 5
  91.         Type        = DESK
  92.         Name        = Level 5
  93.         Level       = 5
  94.         Resource    = Desk05_FineWood.tga
  95.         Icon        = Desk05_FineWood_icon.tga
  96.         // Employee or club cash is more than 20 millions
  97.         BEGIN( Conditions )
  98.             Condition1 = "Team.CashMillions > 20"
  99.             Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 20"
  100.         END                                
  101.     END
  102.     BEGIN(DESK_006)
  103.         Id          = 6
  104.         Type        = DESK
  105.         Name        = Level 6
  106.         Level       = 6        
  107.         Resource    = Desk06_Premium.tga
  108.         Icon        = Desk06_Premium_icon.tga
  109.         // Employee or club cash is more than 40 millions
  110.         BEGIN( Conditions )
  111.             Condition1 = "Team.CashMillions > 40"
  112.             Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 40"
  113.         END                                
  114.     END    
  115.  
  116.     //-------------------------------------------------------------------------    
  117.     // Books
  118.     //-------------------------------------------------------------------------    
  119.  
  120.     BEGIN(BOOK_001)
  121.         Id          = 101
  122.         Type        = BOOK
  123.         Name        = Level 1
  124.         Level       = 1
  125.         Resource    = Book01_Low.tga
  126.         Icon        = Book01_Low_icon.tga
  127.     END
  128.     BEGIN(BOOK_002)
  129.         Id          = 102
  130.         Type        = BOOK
  131.         Name        = Level 2
  132.         Level       = 2
  133.         Resource    = Book02_Medium.tga
  134.         Icon        = Book02_Medium_icon.tga
  135.         // Employee or club cash is between 10 and 50 millions
  136.         BEGIN( Conditions )
  137.             Condition1 = "Team.CashMillions > 10"
  138.             Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 10"
  139.         END                        
  140.     END
  141.     BEGIN(BOOK_003)
  142.         Id          = 103
  143.         Type        = BOOK
  144.         Name        = Level 3
  145.         Level       = 3
  146.         Resource    = Book03_Premium.tga
  147.         Icon        = Book03_Premium_icon.tga
  148.         // Employee or club cash is more than 50 millions
  149.         BEGIN( Conditions )
  150.             Condition1 = "Team.CashMillions > 50"
  151.             Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 50"
  152.         END                                
  153.     END
  154.         
  155.     //-------------------------------------------------------------------------    
  156.     // Items
  157.     //-------------------------------------------------------------------------    
  158.  
  159.     BEGIN(ITEM_001)
  160.         Id          = 1001    
  161.         Type        = OBJECT
  162.         Name        = Scarf
  163.         Resource    = scarf
  164.     END 
  165.     BEGIN(ITEM_002)
  166.         Id          = 1045    
  167.         Type        = OBJECT
  168.         Name        = Pennon
  169.         Resource    = desk_pennon
  170.     END 
  171.     BEGIN(ITEM_003)
  172.         Id          = 1038
  173.         Type        = OBJECT
  174.         Name        = StreamersAndConfetti
  175.         Resource    = desk_streamersandconfetti
  176.         Expire      = 4WEEKS
  177.         // Title win
  178.         BEGIN( Conditions )
  179.             Condition1 = "Team.IsChampion"
  180.         END
  181.     END     
  182.     BEGIN(ITEM_004)
  183.         Id          = 1042    
  184.         Type        = OBJECT
  185.         Name        = Pins
  186.         Resource    = desk_pins
  187.         // Number of fans is larger than 100 thousands
  188.         BEGIN( Conditions )
  189.             Condition1 = "Team.NumFans > 100000"
  190.         END
  191.     END    
  192.     BEGIN(ITEM_005)
  193.         Id          = 1043    
  194.         Type        = OBJECT
  195.         Name        = Cravat
  196.         Resource    = desk_cravat
  197.         // Private cash is greater than 100000
  198.         BEGIN( Conditions )
  199.             Condition1 = "Employee.CashThousands > 100000"
  200.         END        
  201.     END 
  202.     BEGIN(ITEM_006)
  203.         Id          = 1044    
  204.         Type        = OBJECT
  205.         Name        = PiggyBank
  206.         Resource    = desk_piggybank
  207.         // Debts are larger than 2 millions
  208.         BEGIN( Conditions )
  209.             Condition1 = "Team.CashMillions < -2"
  210.             Condition2 = "Employee.CashMillions < -2"
  211.         END
  212.     END 
  213. //    BEGIN(ITEM_007)
  214. //        Id          = 1048    
  215. //        Type        = OBJECT
  216. //        Name        = StopWatch
  217. //        Resource    = desk_stopwatch
  218. //    END
  219.     BEGIN(ITEM_008)
  220.         Id          = 1049    
  221.         Type        = OBJECT
  222.         Name        = Whistle
  223.         Resource    = desk_whistle
  224.     END
  225.     BEGIN(ITEM_009)
  226.         Id          = 1050    
  227.         Type        = OBJECT
  228.         Name        = ShinGuards
  229.         Resource    = desk_shinguards
  230.     END 
  231.     BEGIN(ITEM_010)
  232.         Id          = 1039
  233.         Type        = OBJECT
  234.         Name        = Promotiongrass
  235.         Resource    = desk_promotiongrass
  236.         Expire      = SEASON
  237.         // Team was promoted
  238.         BEGIN( Conditions )
  239.             Condition1 = "Team.IsPromoted"
  240.         END        
  241.     END
  242.     BEGIN(ITEM_011)
  243.         Id          = 1041    
  244.         Type        = OBJECT
  245.         Name        = LeatherTrousers
  246.         Resource    = desk_leathertrousers
  247.         Expire      = 4WEEKS
  248.         // Team is either bayern munich or team has defeated bayern munich ( uid = 1376264 )
  249.         BEGIN( Conditions )
  250.             Condition1 = "Team.UniqueTeamId == 1376264"
  251.             Condition2 = "Match.OpponentUniqueTeamId == 1376264", "Game.IsGermanVersion", "Match.Won" 
  252.         END                
  253.     END 
  254.     BEGIN(ITEM_012)
  255.         Id          = 1047    
  256.         Type        = OBJECT
  257.         Name        = Paperball
  258.         Resource    = desk_paperball
  259.         // Team is Werder Bremen
  260.         BEGIN( Conditions )
  261.             Condition1 = "Team.UniqueTeamId == 1376271"
  262.         END
  263.     END
  264.     BEGIN(ITEM_013)
  265.         Id          = 1011
  266.         Type        = OBJECT
  267.         Name        = Red Lantern
  268.         Resource    = desk_redlantern
  269.         StayUnlocked = false        
  270.         // First team is relegated & playing the german version
  271.         BEGIN( Conditions )
  272.             Condition1 = "Team.IsRelegated", "Game.IsGermanVersion"
  273.         END                                                                                                        
  274.     END
  275.     BEGIN(ITEM_014)
  276.         Id          = 1046    
  277.         Type        = OBJECT
  278.         Name        = Woodenspoon
  279.         Resource    = desk_woodenspoon
  280.         // First team is relegated & playing the UK version
  281.         BEGIN( Conditions )
  282.             Condition1 = "Team.IsRelegated", "Game.IsUkVersion"
  283.         END                                                                                                        
  284.     END   
  285.     BEGIN(ITEM_015)
  286.         Id          = 1002
  287.         Type        = OBJECT
  288.         Name        = Water bottle
  289.         Resource    = desk_bottle
  290.     END    
  291.     BEGIN(ITEM_016)
  292.         Id          = 1003
  293.         Type        = OBJECT
  294.         Name        = Coffee cup
  295.         Resource    = desk_coffeecup
  296.         // The employee has at least 500 thoushand bucks
  297.         BEGIN( Conditions )
  298.             Condition1 = "Employee.CashThousands >= 500"
  299.         END        
  300.     END     
  301.     BEGIN(ITEM_017)
  302.         Id          = 1040
  303.         Type        = OBJECT
  304.         Name        = Candy
  305.         Resource    = desk_candy
  306.     END    
  307.     BEGIN(ITEM_018)
  308.         Id          = 1004
  309.         Type        = OBJECT
  310.         Name        = Fruits
  311.         Resource    = desk_fruits
  312.     END 
  313.     BEGIN(ITEM_019)
  314.         Id          = 1006
  315.         Type        = OBJECT
  316.         Name        = Sushi
  317.         Resource    = desk_sushi
  318.         // The employee has at least 200 thoushand bucks
  319.         BEGIN( Conditions )
  320.             Condition1 = "Employee.CashThousands >= 200"
  321.         END        
  322.     END    
  323.     BEGIN(ITEM_020)
  324.         Id          = 1005
  325.         Type        = OBJECT
  326.         Name        = Caviar
  327.         Resource    = desk_caviar
  328.         // The employee has at least 1 million bucks
  329.         BEGIN( Conditions )
  330.             Condition1 = "Employee.CashMillions >= 1"
  331.         END                
  332.     END    
  333.     BEGIN(ITEM_021)
  334.         Id          = 1009
  335.         Type        = OBJECT
  336.         Name        = Cactus
  337.         Resource    = desk_cactus
  338.     END 
  339.     BEGIN(ITEM_022)
  340.         Id          = 1012
  341.         Type        = OBJECT
  342.         Name        = Bonsai
  343.         Resource    = desk_bonsai
  344.         // Manager level is above 2
  345.         BEGIN( Conditions )
  346.             Condition1 = "Employee.ManagerLevel > 2"
  347.         END
  348.     END
  349.     BEGIN(ITEM_023)
  350.         Id          = 1021
  351.         Type        = OBJECT
  352.         Name        = Bamboo
  353.         Resource    = desk_bamboo
  354.     END
  355.     BEGIN(ITEM_024)
  356.         Id          = 1025
  357.         Type        = OBJECT
  358.         Name        = Pen Level 1
  359.         Level       = 1
  360.         Resource    = desk_ballpen
  361.         // Employee or club cash is less than 1 million
  362.         BEGIN( Conditions )
  363.             Condition1 = "Team.CashMillions < 1"
  364.             Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions < 1"
  365.         END                
  366.     END                                   
  367.     BEGIN(ITEM_025)
  368.         Id          = 1026
  369.         Type        = OBJECT
  370.         Name        = Pen Level 2
  371.         Level       = 2
  372.         Resource    = desk_pen
  373.         // Employee or club cash is between 1 and 5 millions
  374.         BEGIN( Conditions )
  375.             Condition1 = "Team.CashMillions >= 1", "Team.CashMillions < 5"
  376.             Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions >= 1", "Employee.CashMillions < 5"
  377.         END                
  378.     END                                   
  379.     BEGIN(ITEM_026)
  380.         Id          = 1027
  381.         Type        = OBJECT
  382.         Name        = Pen Level 3
  383.         Level       = 3
  384.         Resource    = desk_pinfeather
  385.         // Employee or club cash is more than 5 millions
  386.         BEGIN( Conditions )
  387.             Condition1 = "Team.CashMillions > 5"
  388.             Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 5"
  389.         END                        
  390.     END 
  391.     BEGIN(ITEM_027)
  392.         Id          = 1031
  393.         Type        = OBJECT
  394.         Name        = Sun glasses
  395.         Resource    = desk_sunglasses
  396.         // Manager level is more higher than 3
  397.         BEGIN( Conditions )
  398.             Condition1 = "Employee.ManagerLevel > 3"
  399.         END                        
  400.     END                                                             
  401.     BEGIN(ITEM_028)
  402.         Id          = 1033
  403.         Type        = OBJECT
  404.         Name        = Glasses
  405.         Resource    = desk_glasses
  406.     END 
  407.     BEGIN(ITEM_029)
  408.         Id          = 1029    
  409.         Type        = OBJECT
  410.         Name        = Pogo ball
  411.         Resource    = desk_stressball
  412.     END
  413.     BEGIN(ITEM_030)
  414.         Id          = 1028
  415.         Type        = OBJECT
  416.         Name        = USB Stick
  417.         Resource    = desk_usbstick
  418.     END
  419.     BEGIN(ITEM_031)
  420.         Id          = 1032
  421.         Type        = OBJECT
  422.         Name        = Ear phones
  423.         Resource    = desk_earphones
  424.     END 
  425.     BEGIN(ITEM_032)
  426.         Id          = 1030
  427.         Type        = OBJECT
  428.         Name        = Moisture cream
  429.         Resource    = desk_moisturecream
  430.         // Manager is Adrian Wahl
  431.         BEGIN( Conditions )
  432.             Condition1 = "Employee.IsAdrianWahl"
  433.         END                        
  434.     END
  435.     BEGIN(ITEM_033)
  436.         Id          = 1018
  437.         Type        = OBJECT
  438.         Name        = Globe 
  439.         Resource    = desk_globe
  440.         // Manager is speaking more than 2 languages fluently
  441.         BEGIN( Conditions )
  442.             Condition1 = "Employee.NumSpokenLanguages > 2"
  443.         END                                
  444.     END                                                                                       
  445.     BEGIN(ITEM_034)
  446.         Id          = 1019
  447.         Type        = OBJECT
  448.         Name        = Golf ball
  449.         Resource    = desk_golfball
  450.         // Manager's golf handicap is less than 20
  451.         BEGIN( Conditions )
  452.             Condition1 = "Employee.GolfHandicap < 20"
  453.         END                                        
  454.     END
  455.     BEGIN(ITEM_035)
  456.         Id          = 1020
  457.         Type        = OBJECT
  458.         Name        = Golf club
  459.         Resource    = desk_golfclub
  460.         // Manager's golf handicap is less than 10
  461.         BEGIN( Conditions )
  462.             Condition1 = "Employee.GolfHandicap < 10"
  463.         END                                                
  464.     END    
  465.     BEGIN(ITEM_036)
  466.         Id          = 1016
  467.         Type        = OBJECT
  468.         Name        = Chess 
  469.         Resource    = desk_chess
  470.         // Manager is a tactician
  471.         BEGIN( Conditions )
  472.             Condition1 = "Employee.IsTactician"
  473.         END                                                        
  474.     END
  475.     BEGIN(ITEM_037)
  476.         Id          = 1013
  477.         Type        = OBJECT
  478.         Name        = Sailing yacht
  479.         Resource    = desk_sailingyacht
  480.         // Manager passed the sailing exam
  481.         BEGIN( Conditions )
  482.             Condition1 = "Employee.SailingSkill >= 5"
  483.         END                                                                        
  484.     END
  485.     BEGIN(ITEM_038)
  486.         Id          = 1014
  487.         Type        = OBJECT
  488.         Name        = Ship in a Bottle
  489.         Resource    = desk_ship
  490.         // Manager half completed the sailing course
  491.         BEGIN( Conditions )
  492.             Condition1 = "Employee.SailingSkill > 2"
  493.         END                                                                        
  494.     END
  495.     BEGIN(ITEM_039)
  496.         Id          = 1024
  497.         Type        = OBJECT
  498.         Name        = Zen-Garden
  499.         Resource    = desk_zengarden
  500.         // Manager level is greater than 6
  501.         BEGIN( Conditions )
  502.             Condition1 = "Employee.ManagerLevel > 6"
  503.         END        
  504.     END 
  505.     BEGIN(ITEM_040)
  506.         Id          = 1010
  507.         Type        = OBJECT
  508.         Name        = Fan
  509.         Resource    = desk_fan
  510.         StayUnlocked = false
  511.         // Manager is female and we have summer
  512.         BEGIN( Conditions )
  513.             Condition1 = "Employee.IsFemale", "Game.GameDateMonth >= 7", "Game.GameDateMonth <= 8"
  514.         END                                                                                
  515.     END
  516.     BEGIN(ITEM_041)
  517.         Id          = 1017
  518.         Type        = OBJECT
  519.         Name        = Dinosaur
  520.         Resource    = desk_dinosaur
  521.         // Manager is for 4 years at club ( 4 * 365 days )
  522.         BEGIN( Conditions )
  523.             Condition1 = "Team.ManagerDaysAtClub > 1460"
  524.         END 
  525.     END 
  526.     BEGIN(ITEM_042)
  527.         Id          = 1022
  528.         Type        = OBJECT
  529.         Name        = Castle 
  530.         Resource    = desk_castle
  531.         // Manager level is greater than 3
  532.         BEGIN( Conditions )
  533.             Condition1 = "Employee.ManagerLevel > 3"
  534.         END
  535.     END
  536.     BEGIN(ITEM_043)
  537.         Id          = 1035
  538.         Type        = OBJECT
  539.         Name        = Curry
  540.         Resource    = desk_curry
  541.         // Manager is Adrian Curry
  542.         BEGIN( Conditions )
  543.             Condition1 = "Employee.IsAdrianCurry"
  544.         END                        
  545.     END                                                                                                                              
  546.     BEGIN(ITEM_044)
  547.         Id          = 1037
  548.         Type        = OBJECT
  549.         Name        = Spider
  550.         Resource    = desk_spider
  551.         // Manager level is above 5
  552.         BEGIN( Conditions )
  553.             Condition1 = "Employee.ManagerLevel > 5"
  554.         END                                
  555.     END
  556.     BEGIN(ITEM_045)
  557.         Id          = 1036
  558.         Type        = OBJECT
  559.         Name        = Westie
  560.         Resource    = desk_westie
  561.     END 
  562.     BEGIN(ITEM_046)
  563.         Id          = 1034
  564.         Type        = OBJECT
  565.         Name        = Bulldog
  566.         Resource    = desk_bulldog
  567.     END    
  568.     BEGIN(ITEM_047)
  569.         Id          = 1023
  570.         Type        = OBJECT
  571.         Name        = Rings
  572.         Resource    = desk_engagementring
  573.         UnlockOnStateChange = true         
  574.         // Manager has married
  575.         BEGIN( Conditions )
  576.             Condition1 = "Employee.IsMarried"
  577.         END                                                                                        
  578.     END
  579.     BEGIN(ITEM_048)
  580.         Id          = 1007
  581.         Type        = OBJECT
  582.         Name        = Santa Claus
  583.         Resource    = desk_santaclaus
  584.         StayUnlocked = false
  585.         // We have xmas
  586.         BEGIN( Conditions )
  587.             Condition1 = "Game.IsChristmasWeek"
  588.         END                                                                                                
  589.     END    
  590.     BEGIN(ITEM_049)
  591.         Id          = 1008
  592.         Type        = OBJECT
  593.         Name        = Easter Egg
  594.         Resource    = desk_easteregg
  595.         StayUnlocked = false
  596.         // We have easter
  597.         BEGIN( Conditions )
  598.             Condition1 = "Game.IsEasterWeek"
  599.         END                                                                                                        
  600.     END 
  601. END
  602.